<?php /**
 * @author
 * @version 1.0
 */
 class xhtml { static public function xlink($a,$b = null, $c = null ,$d = null) { $c = ($c === null) ? null: ' class="'.$c.'"'; $d = ($d === null) ? null: ' id="'.$d.'"'; $b = ($b === null) ? $a: $b; return <<<EOF
		<a$d$c href="$a"><span>$b</span></a>		
EOF;
} }